﻿<%@ include file="/WEB-INF/views/framework/global.jsp" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>我的课题</title>
</head>
<body class="kk">

	<ul class="nav nav-tabs g_navbar">
	  <li><a href="#">课题管理</a></li>
	  <li class="active"><a href="#">我的课题</a></li>
	</ul>

	<div class="framework_container">
		<div class="kt_table table-responsive" data-default-operator="true">
		    <!-- 如何隐藏列？ data-column-hidden="true"-->
			<p class="cell" data-value="id" data-label="id" data-column-hidden="true" width="1%"></p>
			<p class="cell" data-value="name" data-label="课题名称" width="30%" data-fn="nameLink"></p>
			<sec:authorize access="hasRole('STUDENT')">
			<p class="cell" data-value="masterName" data-label="导师" width="7%"></p>
			<p class="cell" data-value="status" data-label="状态"  width="7%" data-coldelist="AUDIT-STATUS"></p>
			<p class="cell" data-value="status_fake" data-label="结果"  width="7%"  data-fn="viewComments"></p>
			</sec:authorize>
			<p class="cell" data-value="created" data-label="创建时间" width="10%"></p>
		</div><br>
		
		<div class="row">
			<div class="col-md-12 rel">
				<section class="abs operation_bar">
					<button type="addBtn" class="btn btn-success" id="addBtn">创建课题</button>
					<sec:authorize access="hasRole('STUDENT')">
						<button type="addBtn" class="btn btn-default" id="submitBtn">提交课题</button>
					</sec:authorize>
				</section>
			</div>
		</div>
	</div><!-- /framework_container -->
	<script>
	    var role = '${user.account.roleNames}';
	</script>
	<script src="${cmpRoot}/mytopic_index.js"></script>
</body>
</html>
